package com.bjsxt.dto;

import com.bjsxt.domain.Purchase;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author:liao
 * @Description:TODO
 * @date:2021/1/7
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("com-bjsxt-dto-PurchaseFormDto")
@EqualsAndHashCode(callSuper = true) //表示使用equals比较时考虑父类的属性
public class PurchaseFormDto extends BaseDto {

    // 采购单主表数据
    private PurchaseDto purchaseDto;
    // 采购信息列表
    private List<PurchaseItemDto> purchaseItemDtos;
}
